{extend name="base" /}
{block name="content"}

<!-- layout admin -->
<div class="layui-layout layui-layout-admin"> <!-- 添加skin-1类可手动修改主题为纯白，添加skin-2类可手动修改主题为蓝白 -->
    <!-- header -->
    <div class="layui-header my-header">
        <a href="index.html">
            <!--<img class="my-header-logo" src="" alt="logo">-->
            <div class="my-header-logo">后台管理系统</div>
        </a>
        <div class="my-header-btn">
            <button class="layui-btn layui-btn-small btn-nav"><i class="layui-icon">&#xe65f;</i></button>
        </div>

        <!-- 顶部左侧添加选项卡监听 -->
        <ul class="layui-nav" lay-filter="side-top-left">
            <!--<li class="layui-nav-item"><a href="javascript:;" href-url="demo/btn.html"><i class="layui-icon">&#xe621;</i>按钮</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;"><i class="layui-icon">&#xe621;</i>基础</a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;" href-url="demo/btn.html"><i class="layui-icon">&#xe621;</i>按钮</a></dd>
                    <dd><a href="javascript:;" href-url="demo/form.html"><i class="layui-icon">&#xe621;</i>表单</a></dd>
                </dl>
            </li>-->
        </ul>

        <!-- 顶部右侧添加选项卡监听 -->
        <ul class="layui-nav my-header-user-nav" lay-filter="side-top-right">
            <li class="layui-nav-item"><a href="/" class="" target="_blank">前台首页</a></li>
            <!--<li class="layui-nav-item">
                <a class="name" href="javascript:;"><i class="layui-icon">&#xe629;</i>主题</a>
                <dl class="layui-nav-child">
                    <dd data-skin="0"><a href="javascript:;">默认</a></dd>
                    <dd data-skin="1"><a href="javascript:;">纯白</a></dd>
                    <dd data-skin="2"><a href="javascript:;">蓝白</a></dd>
                </dl>
            </li>-->
            <li class="layui-nav-item">
                <a class="name" href="javascript:;"><img src="__PUBLIC__/admin/image/code.png" alt="logo"> admin </a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;" href-url="{:url('admin/index/pass')}"><i class="layui-icon">&#xe621;</i>修改密码</a></dd>
                    <!--<dd><a href="javascript:;" href-url="demo/map.html"><i class="layui-icon">&#xe621;</i>图表</a></dd>-->
                    <dd><a href="{:url('admin/index/logout')}"><i class="layui-icon">&#x1006;</i>退出</a></dd>
                </dl>
            </li>
        </ul>

    </div>
    <!-- side -->
    <div class="layui-side my-side">
        <div class="layui-side-scroll">
            <!-- 左侧主菜单添加选项卡监听 -->
            <ul class="layui-nav layui-nav-tree" lay-filter="side-main">
                <li class="layui-nav-item layui-nav-itemed"> <!--去除 layui-nav-itemed 即可关闭展开-->
                    <a href="javascript:;"><i class="layui-icon">&#xe620;</i>基础</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" href-url="{:url('admin/recharge/index')}"><i class="layui-icon">&#xe621;</i>充值记录</a></dd>
                        <dd><a href="javascript:;" href-url="{:url('admin/cash/index')}"><i class="layui-icon">&#xe621;</i>提现记录</a></dd>
                        <dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('admin/user/index')}"><i class="layui-icon">&#xe621;</i>用户列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><i class="layui-icon">&#xe614;</i>快捷管理</a>
                    <dl class="layui-nav-child">
                        <dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('admin/block/index')}"><i class="layui-icon">&#xe621;</i>公司简介</a></dd>
                        <dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('config/index')}"><i class="layui-icon">&#xe621;</i>系统配置</a></dd>
                        <!--<dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('category/index')}"><i class="layui-icon">&#xe621;</i>栏目管理</a></dd>-->
                        <!--<dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('article/index')}"><i class="layui-icon">&#xe61e;</i>文章管理</a></dd>-->
                        <dd class="layui-nav-item"><a href="javascript:;" href-url="{:url('lunbo/index')}"><i class="layui-icon">&#xe639;</i>轮播管理</a></dd>
                    </dl>
                </li>
            </ul>

        </div>
    </div>
    <!-- body -->
    <div class="layui-body my-body">
        <div class="layui-tab layui-tab-card my-tab" lay-filter="card" lay-allowClose="true">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1"><span><i class="layui-icon">&#xe638;</i>欢迎页</span></li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe id="iframe" src="{:url('admin/index/welcome2')}" frameborder="0"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!-- footer -->
    <div class="layui-footer my-footer">
        <p><a href="###" target="_blank">后台管理系统</a>
        <p>2017 © copyright&nbsp;&nbsp;<a href="#" target="_blank">###</a></p>
    </div>
</div>

<!-- 右键菜单 -->
<div class="my-dblclick-box none">
    <table class="layui-tab dblclick-tab">
        <tr class="card-refresh">
            <td><i class="layui-icon">&#x1002;</i>刷新当前标签</td>
        </tr>
        <tr class="card-close">
            <td><i class="layui-icon">&#x1006;</i>关闭当前标签</td>
        </tr>
        <tr class="card-close-all">
            <td><i class="layui-icon">&#x1006;</i>关闭所有标签</td>
        </tr>
    </table>
</div>

{/block}

{block name="js"}
<!--<script type="text/javascript" src="__PUBLIC__/admin/js/index.js"></script>-->
<script type="text/javascript" src="__PUBLIC__/admin/frame/static/js/vip_comm.js"></script>
<script type="text/javascript">
    layui.use(['layer'], function () {
        // 操作对象
        var layer       = layui.layer
            //,vipNav     = layui.vip_nav
            ,$          = layui.jquery;

        // 顶部左侧菜单生成 [请求地址,过滤ID,是否展开,携带参数]
        //vipNav.top_left('./json/nav_top_left.json','side-top-left',false);
        // 主体菜单生成 [请求地址,过滤ID,是否展开,携带参数]
        //vipNav.main('./json/nav_main.json','side-main',true);

        // you code ...


    });
</script>
{/block}